<?php

if (!defined('BASEPATH'))
    exit('No direct exits acces allowed');

class Home extends CI_Controller {

    function __construct() {
        parent::__construct();
    }

    function index(){
        if($this->session->userdata("logged_in")!=""){
            $d['title']= $this->config->item('title_home');


            $this->template->tampilan('v_home',$d);

        }else{
            redirect("login");
        }
    }
}

